//
//  YZPublishCommunityVideoModel.m
//  VET
//
//  Created by YZ on 2018/7/16.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZPublishCommunityVideoModel.h"
#import "TZImageManager.h"

@interface YZPublishCommunityVideoModel()

@property (nonatomic, strong, readwrite) UIImage *img;

@end

@implementation YZPublishCommunityVideoModel

- (void)setAssert:(PHAsset *)assert
{
    _assert = assert;
    [[TZImageManager manager] getOriginalPhotoWithAsset:assert completion:^(UIImage *photo, NSDictionary *info) {
        if (photo) {
            self.img = photo;
        }
    }];
}


@end
